// 全局注册自定义组件
import MessageTip from './MessageTip.vue'
import NewSegmentedControl from './NewSegmentedControl.vue'

const components = {
  MessageTip,
  NewSegmentedControl
}

const GlobalComponents = (app) => {
  Object.keys(components).forEach((key) => {
    app.component(`${key}`, components[key])
  })
}

export default GlobalComponents
